Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/362 example snyk docker producer #363

Merged
merged 4 commits into from
Sep 19, 2024

Conversation

northdpole
Copy link
Contributor

@northdpole northdpole commented Sep 18, 2024

closes #362 and to create has to fix #364

can be tested with

create an account at snyk.io, obtain an API key, paste your api key in ./examples/pipelines/snyk-project/pipelinerun.yaml as the value of the parameter producer-snyk-docker-api-key
then run

make dev-teardown install # cleanup
bin/cmd/draconctl pipelines deploy ./examples/pipelines/snyk-project # setup the workflow
kubectl -n dracon create -f ./examples/pipelines/snyk-project/pipelinerun.yaml

you can monitor the workflow with
kubectl -n dracon get po -w
once the consumer stdout-json finishes you can see the findings in the logs

@northdpole northdpole force-pushed the feature/362-example-snyk-docker-producer branch 2 times, most recently from f82f04e to 9025579 Compare September 18, 2024 20:56
@northdpole northdpole marked this pull request as ready for review September 18, 2024 21:04
@northdpole northdpole force-pushed the feature/362-example-snyk-docker-producer branch from 9025579 to f077867 Compare September 18, 2024 21:07
components/producers/producer.go Outdated Show resolved Hide resolved
components/producers/snyk-docker/main.go Outdated Show resolved Hide resolved
components/producers/snyk-docker/main.go Outdated Show resolved Hide resolved
components/producers/snyk-docker/task.yaml Outdated Show resolved Hide resolved
@northdpole northdpole force-pushed the feature/362-example-snyk-docker-producer branch from f077867 to a48625a Compare September 19, 2024 15:30
@northdpole northdpole merged commit 5509810 into main Sep 19, 2024
3 checks passed
@northdpole northdpole deleted the feature/362-example-snyk-docker-producer branch September 19, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants